AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')

function ENT:GiveDrugEffects(ply)
	local spent = false
	for k, v in pairs(self.Drugs) do
		local cdrug = scripted_ents.Get(v)
		if cdrug && !ply:GetNWBool(cdrug.NWName) then
			cdrug:GiveDrugEffects(ply)
			spent = true
		end
	end
	if !spent then return false end
end

function ENT:TakeDrugEffects(ply)
	for k, v in pairs(self.Drugs) do
		local cdrug = scripted_ents.Get(v)
		if cdrug && ply:GetNWBool(cdrug.NWName) then
			cdrug:TakeDrugEffects(ply)
			ply:SetNWBool(cdrug.NWName, false)
		end
	end
end

function ENT:OnTakeDamage(dmginfo)
end